resetting custom query - fixes the sidebar problems - fixes #41