Make spell_as_flat and spell_as_sharp more flexible