Fix bug on infinite scroll