Bug fix: onsets were not reported correctly!