             guard let lastLine = eachSection.last else { continue }
 
             // filtering out violations within a multiple comment block
-            let sectionInComment = comments.filter {
-                (eachRange, _ ) in  eachRange.intersectsRange(lastLine.range)
-                }.first
+            let isSectionInComment = !comments.filter {
+                (eachRange, _ ) in eachRange.intersectsRange(lastLine.range)
+            }.isEmpty
 
-            if let _ = sectionInComment {
+            if isSectionInComment {
                 continue  // skipping the lines found in multiline comment
             } else {
                 result.append((lastLine, eachSection.count))

            $0.content.stringByTrimmingCharactersInSet(.whitespaceCharacterSet()).isEmpty
        }

        if filteredLines.isEmpty {return []}

        var blankLinesSections = [[Line]]()
        var lineSection = [Line]()

        var previousIndex = 0
        for index in 0..<filteredLines.count {
            if  filteredLines[previousIndex].index + 1 == filteredLines[index].index {
                lineSection.append(filteredLines[index])
            } else if !lineSection.isEmpty {
                blankLinesSections.append(lineSection)

            "let aaaa = 0\n\n\n",
            "struct AAAA {}\n\n\n\n",
             "class BBBB {}\n\n\n",
        ],
        corrections: [
            "let b = 0\n\n\nclass AAA {}\n": "let b = 0\n\nclass AAA {}\n",
            "let c = 0\n\n\nlet num = 1\n": "let c = 0\n\nlet num = 1\n",
