Fix boolean convertion of default value