Cleanup

Change ternary operator to not operator.