Changed config for doctrine paginators