Be more idiomatic when ensuring arrays

Convert the variable into an Array object instead of checking if it's an Array. This has the same outputs with the added benefit of compacting out the nils for you, and being prettier.