Deleting tag when deleting a building that was the last to carry the tag