Simplified VariantBool and also fixed a compiler warning.