Remove bug in code coverage management in loop mode.