Fixed event iteration.

git-svn-id: http://svn.code.sf.net/p/adevs/code/trunk@266 153d293f-9360-418f-87de-c6d3afdd7922