So right now yes that can happen, but the fix will need to be type checks in the delete functions of subclasses. I don't think this can be fixed in the base class.