[#] Fixed bug with active buttons in pagination.