fix regression in search functionality from infinite scroll implementation