Fixed bug in popular sub pagination