Updates pagination controls; Keeps search query in the collection