remove_track_from_cache now updates iterator correctly if erased element is the current element.