Set search result field to null if it is empty

If a field is empty, then $data[0] throws a Notice error that it doesn't exist. Ensure that there's a value there before returning.