Fix missing ownerInfo bug for Cursor.forEach/map