Optional equals in query parms

Fixes the issue where parameters exist in the query parms but dont have an equals