Added grace note filtering