Properly invert in shell if.