Fixed errors in query