SONARJAVA-9 Fix BaseTreeVisitor
Fix NestedIfStatementsCheck