SONARJAVA-302 Fix a little regression spotted by the ITs