You are not doing anything wrong.
I fixed the foreach bug in the svn stream, along with a few others, and had to require 1.0-svn of CMS due to some recent changes that Ted did wrt adodb-lite, as I use the latest and greatest svn code for development. I wasn't "quite" ready to release a new beta when ted made his changes and forced me to do the same.
so your choices are:
a) upgrade to the latest and greatest, hot off the press, but could be full of problems version of CMS
or
b) try revision 95 of the svn tree
"svn co -r 95 ....."
or
c) talk to me "real nice"

to release a beta 2.1 (which will be revision 95). I've been working fast and furious on the 1.0 stuff as of late.
and am swamped as we all are.
My thought at the moment, is that NMS 1.0 final won't be released until CMS 1.0 comes out.