Fix crash on coming out of record that I introduced a few commits ago.