fixed incorrect return values, relating to previous change

previous devel commit reversed the logic, this catches places where it was utilized but not changed in accordance.