Fix procedure type checking (ARRAY parameter).