fix #5853 Support relationships in referencing objects view