Closes #4155 - query-params-new: error in paramsFor()