Fixing delete for embedded entuty