Fixed issue with infinite scroll.