Added case for one leaf

It was a bug to return a HashTrieSet in that case.