refactor: fix few "inverted boolean" usages