Added code to filter relevant hotspots between two objects by looking at the role of the hotspot and comparing that role to the relationship between the two objects.