Fix issue with page not jumping to one when searching