Do not use COM_buildURL() to create pagination links.