How is the tab chosen when opening a link from an external location?
It's usually not a random tab but the current active tab. But with 111 tabs open, I'm surprised the app's memory is not hosed so much that it's making mistakes now. That count seems a bit high. Try to reduce the tab count--after restarting Safari--and check the behavior then.