Fixed little bug in chord recognition