Fixed #5063 (False positive for comparisonOfBoolWithInvalidComparator)