fix for deletes where the attribute is not saved

fix for deletes where the attribute is not saved