Fix null result error.
Keep all results, use only the good ones.
Improve results statistics.
closes #244.