Fix deprecation warning in array conversion