Fix TFD for unlabeled set
Merge pull request #1208 from vdumoulin/fix_tfd

Fix TFD for unlabeled set