To add to this, it's a perfectly justified change. HIV is significantly less harmful these days.
At one time, contacting HIV was only a matter of time until you developed AIDS, after which you could expect to have a life of increasing suffering and early death. A large part of your sex life is permanently eliminated, lest you spread the virus.
Today it is entirely possible to contract HIV and not develop AIDS. Should you develop AIDS, the prognosis is significantly less grim. It is also possible to maintain normal sexual relationships without causing viral spread.
Since HIV is no longer a death sentence it no longer makes rational sense for the legal system to treat it as one.
On an even more positive note, mRNA research is amazing and there may be an HIV vaccine as soon as this decade. The last person to die of AIDS may have already been born!