Minor mistake on pagination