Onsignal push badge

I am using onesignal for push notifications.
When more than one notification is stacked, and they do not open in the application, the badge does not restart.

badge can be erased with native badge (this.badge.set (0)), but when a new notification arrives it resumes the previous account instead of starting again.

some idea to empty/restart the stack in the app??

regards