Fixed bug where limit parameter wasn't being used for page links