Also check when looking for the root master that not only the server ref but also the referred to server is active.