Don't show not important warnings
Simplify boolean conditions