That indeed appears to be inverted logic. Nice catch!