Fixed config to bool explicit conversion.