Temporarily fix for itemsperpage with Paginate repo/medium

See https://github.com/Guite/MostGenerator/issues/227