Fixed items_per_page evaluation.