Check against strings in config parsing