Fixed problem with wrong detailPid determination