[BUG #6889] Make sure that undefined as label as also handled correct.