commitAllowingStateLoss should do this for us. As noted in the TODO there is probably a better way, but now is not time.