I think you can just to `tracking_numbers = Array(tracking_numbers)` instead of checking, assuming that `tracking_number` is always either an `Array` or `String`