Fixing formatting for pagination links