Query for conflicting classes done