fix for a sigularity where there is no candidate left.