fixed bug in Facetr.hierarchy method