Do not only check for None result, check for empty result list too.