Add a sanity check