Leaflet changes! Check if line or marker exist before cleaning.