fixed issue with patterns with silences would not correctly merge duplicate notes