Return an empty array instead of null