Added behavior to fix Paginator search with Translate and a custom query