Fix bug finding reference of multi scoped symbol