You can try to use the "Remove empty URL parameters " plugin.