fixed wrong testing for null values in Factual response