Fixed problem with empty labels.