Fixed #12 - Do not throw if there are no candidates
This solves a problem when actually working with a dataset. Not sure if it is good enough.
Edited by Vasily Kuznetsov
This solves a problem when actually working with a dataset. Not sure if it is good enough.