Restore mistakenly-deleted utility function `getUpdatedQueryString`
Merge pull request #829 from RickMohr/restore-utility

Restore mistakenly-deleted utility function `getUpdatedQueryString`