BUG: Fix mismatched logic error in compatibility check

We want to support below 2.0 (non-inclusive), but including 1.6.1. Check was
doing the opposite. Not worth merging if we accept #7565 , but just wanted this
here as a ping if we don't so we're internally consistent.