I've just had a quick test and it actually does okay; clicking on "calendar" opens the calendar for the account I'm currently looking at.
I guess it might not work well if you click a random link somewhere with two accounts open simultaneously, although I have a bit of sympathy for them there because that does seem kinda tricky to solve.
I guess it might not work well if you click a random link somewhere with two accounts open simultaneously, although I have a bit of sympathy for them there because that does seem kinda tricky to solve.