Fixes array type cast being confused with array declaration