Check for nil result object