SONARFLEX-12 loop counter modified.