[Bug 59497] New: Incorrect condition in edit.c EDIT_EM_ReplaceSel