Quick ->toArray() fix.