Flip comparison when checking whether to log something