I upgraded to Catalina 10.15.3 from Sierra 10.12.6 and I am facing an issue where some folders in Finder have the Sublime app icon. I am using Sublime version 3.2.2 build 3211. It’s so weird like in attached pic, and these folder usually have text files in them.

If I change Sublime app icon, then these folders also change their icon to it. And this is happening only to some folders.
Is something corrupted in Finder? Does anybody know how to deal with it?