Removed errors when results is undefined.