Issue #3088183 by eiriksm, rjdjohnston, skyredwang, rossb89: Generating Order Reports throws toArray() error