Custom Search Not Consistent with Results

I figured out the answer to my own question (finally!). I’m using the NineToFive template and I guess by default there’s a limit on the number of search results that’s returned (I’m not sure if that’s a WordPress default; maybe someone can clarify that).

I changed my query to this:

$s = new WP_Query(array('s' => $search_term, 'posts_per_page' => -1));

To not put a limit on the search results and that changed it. I needed to find every possible search term on page 1 in order to cross reference it with the location but it was ‘paginating’ the search results.

Thanks for your help!