Fix bug with missing "in" in "inEditMode".