Model Provided Ambigious search string to replace

On the first day of using the search_replace tool as more efficient option I was blown away by how efficient and fast it was. But over the few days I’ve tried it yet, I’ve noticed that any model keeps duplicating classes in my file and I start to get these errors because the search_replace tool doesn’t know what class or what line to replace because it’s duplicated. Could someone look into this and maybe roll out a quick hotfix?