Removing ternary operator for more concise "cast" to Array