Remove redundant array conversion