Fixes a derp in the sanity checking.