Bugfix

Inverted logic