The clients property should not be part of queryData (or query). If you used a hash along with a Query.hashKey function you could avoid this.