Correct display of label revisions. Closes #3297.