Bars sequence numbering

 
The numbering from the "Bars" function is not in sequence sometimes.
Reason: