prevent crash in Hierarchify() with empty cells
Merge pull request #4 from sujo/master

fixed: crash in Hierarchify() with empty cells