I bought Heart of Swarm years ago and now it wants me to buy it again

Hello
I have purchased the heart of Swarm as well as legacy of The void, years ago when it came out, but now it wants me to buy it again. Does anyone else have this problem?

That’s almost always an issue of logging into the wrong Battlenet account, especially if a lot of time has passed and memory of which account is which, and even of multiple accounts.