Also treat undefined as "yes" for public flag

Main code rev. 1936