Perf. improvement.
Minor fix
Invert flag