Improving exercise question pagination by categories see BT#5635