Additional QoQ Fix

Add the same check into queryToStruct that was used in queryToArray
Merge branch 'QoQErrorFix'
Prevent Token form from submitting

When completing the form for tokens, pressing enter will submit the
form for the entire page, losing all data entered for query string
parameters and token values. I added an onsubmit=“return false” to the
form to prevent the form from submitting.