Add an assert, to hopefully catch a bug.