Fix bug with traceability view
enhance relation based type to keep trace to original type