invert condition for diff view