Fix handling of noteoff/instance releases.