Fix an assertion failure introduced in r250186.