Fix append with empty flags array
Merge pull request #188 from mikemee/master

fix for append with empty flags array