Fix records_per_page to be an integer