Fix boolean handling in config