Ensure cursor.items is nulled out on toArray #936