Fixed issue with clustering relationship labels