Fix deleting entries