Fixing pagination in author page