Fixed boolean check methods when using 'config.use_name_as_value = true'.