Fixed a bug with some accidental ties potentially hiding notes that should be played