Rename query fields when renaming a page title

Currently changing a name of a page will update the links of that page, but not queries it is used in. All queries using a renamed title will break.

Would be great to update the pages name in queries as well, in addition to updating it in links.