(d) In making a perseverance below this part, a courtroom shall not consider as a factor weighing from the petitioner any getting of the kid, or retention of the kid following a go to or other temporary relinquishment of Actual physical custody, from the one who has lawful custody, if there is proof which the having or retention of the kid was a