Prevent delete from creating empty atom nodes