Fixed a bug that caused the the ecmtests to fail
Authored by: blekinge 2010-06-26
Parent: [r8674]
Child: [r8676]