corrected query to compare $cleanerName
corrected query to compare $cleanerName, removed unnecessary queries