Fixed small bug related to infinite scroll when less than 300 records