Bugfix no query update when POSTing on a user-restricted resource

My fix last time introduced a bug when POSTing on a user-restricted resource, this is how I fixed it.