I think we're ok in assuming that we won't get an array of nulls, and in that case it would be the caller's fault