A lot of monitors, especially cheaper ones, don't have the serial number fields populated in the EDID, so that the OS can't distinguish between them.
I encounter a bunch of cheap monitors, still not had that issue recently. But that doesn’t disprove your point, just my own personal experience.
Not had that problem personally in at least 3 MacOS major releases. What version of MacOS are you using?