Correct Del key behaviour