Fixed small issue with checkbox counting on pagination