Fix SanityCheck for bool.