what ? you should specify session in which you are looking for parentId! 
In this case you take firs one all the time