Changed getResultsFromUrl to 'return' null on error