Correct delete bug