Fixes the urlparameters smarty plugin