Have the difference value when we show the lookup between create and edit window on team tab.
Set Investment ID as parameter but when the ID is not set on create window ?
You have the issue when you define odf_grand_parent_id as object attribute ID.
If you define odf_parent_id as object attribute ID then you do not have the issue.
This is a defect and will be fixed on a future version(DE40270).