Correctly handle escaped labels.