Fixed crashes after second entry deletion