I can't reproduce this locally or here on XenForo. I suspect that those threads were in the specified forum at some point and were moved out? If so, were they moved out via a query or did an error occur while moving them? If that's the case, then that's the cause -- the necessary bits of the search index weren't rebuilt correctly.
You can rebuild the search index in the admin CP to resolve this.