Adding some revisions to make the marker disappear upon delete