Made empty result set an empty array