SONAR-5755 Fix issue with deeply nested modules