Correct erroneous with/endwith.