SeedingData: correctly detect dead ends

The code path was buggy because dead end detection never
detected anything.

Resolves-bug: https://github.com/sebhtml/ray/issues/136
Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>