DERBY-673: Get rid of the NodeFactory Followup fix to patch derby-673-typesafe-lists-2. The patch introduced a bug in FromSubquery: wrong loop upper bound. Roll back that change.