Bug fix on books pagination