Upgrade from 1.8 to 1.14 replaces potions with water bottles

I am attempting to update my server, and every single potion in chests, item frames or any other container has been replaced with water bottles.

I have experimented and discovered that I can upgrade to 1.12 just fine, but as soon as I upgrade to 1.13+ it happens as long as the chunk wasn’t loaded while 1.12 was active.

Any solution to this?

1.8-1.12 use a different item “identification system”
I’m pretty sure that in 1.8-1.12, potions are regarded as water bottles though, I could be wrong.