Fix boolean bug in config file reader