Fix bug while erasing from vectors

parent 21fa2fcc
Pipeline #21051 passed with stages
in 9 minutes and 18 seconds