Fixed a filtering method for music theory