Overload erase to utilize underlying iterator function