Bug fix: pagination links don't work when you have a get parameter added to them