plugins: onsets, fix potential issue with multiple unsequenced increments
(cherry picked from commit 9e67e849fb0d4c4624d09dcd57c3106dde32bd14)