[BUGFIX] Fix issue where updating a query param property caused NaN #5145

Closes #5145