Fix StatusCode bit twiddling