Restricted number of items in pagination