Handle NaN results from Presto server