Cluster failover and location "home server"

If user’s home server fails, and s/he is switched over in the cluster, is there any update to the “Home server” value in the location document. It’s important for me, because we have some code that relies on this value to know where Domino Directory sits. Right now, my app is haingng after a switch.

Thanks for any help