Fixing bug to allow filter and paginator works ok.
Bug is happening when user types a query and go to another page.