Does not work. Array(nil) == [nil], so you'd need compact. Also, Array(x) represents different idiom. 
"param || val" => I am providing default value
"Array(param)" => I treat non-array object as array of one (BTW, this one is broken on many directions)