Fix parsing of empty labels.