fixed Percolator unregister and register Queries