Fixed a bug where flat is interpretted as sharp

Here I thought I had grown out of accidentally using = instead of ==