nodeSetExpanded: support undefined flag
Merge pull request #103 from Koloto/master

nodeSetExpanded: support undefined flag