Fix bug while erasing from vectors

4 jobs for 300-tracks-for-trains in 9 minutes and 18 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Configure
passed #103441
linux
configure-linux

00:00:02

 
  Compile
passed #103442
linux
make-linux

00:01:42

 
  Unit Test
passed #103443
linux
test

00:07:04

 
  Dev Test
passed #103444
linux
dev

00:00:29