Later code doesn't work with nil, so make it an empty array