DATAMONGO-996 - Pagination does not work properly.