Add filter to truncate the catalog tree item labels

A quick solution to fix #684