Correct display of label revisions. Closes #3297.

(cherry picked from commit 2257a7caab43f9a8458bfec412fbc518492efb50)