Fix boolean config option handling