Fix array arguments for chunking functions.