Fixed spurious deleting