Fix for search/pagination being turned off