Fixed search query wrapper for pagination
Fixed function_score wrapping for search query, should wrap before filtered