It opens the web-version, but it'd be cool if it opened it directly in the Microsoft Store app.
I've noticed that about the duplicates. Some cleaning up will be necessary like removing the TM symbols, yeah. Is there no other metadata you have access to?
edit: Where did you get the store IDs for all the games anyway? Also, those titles are weirdly inconsistent, which is annoying.