Fix PersistentSortedSet.getSnapshot(..)

It was not creating a TreeSet (but a HashSet) as snapshot base collection.

TODO Should be done on PersistentSortedMap as the problem seems to be the same.