Add a sanity check.