Prevent continuous deletion of a single line