More fixes for boolean types in script language.