small fix to occ_search to correctly parse queries with larger limits