Fix TFD for unlabeled set

The tests for TFD were failing, but they're skipped by Travis so it went unnoticed.