Prevent endless loop in IE due to unsuccessful correction of invalid

selection.