Removed query reset