Handle empty results in asArray() method.