Return empty array instead of NULL if no data is found.