Fixed NoneType object being added to results.