Fix check for no candidates.
Serialize task to binary after computation.