Removed unused query