Explicitly initialize to_erase to false.