Fix label inversions