Added ugly workaround for a loop bug.

--HG--
branch : trunk
2 files changed