I3 volume script out of sync with pulseaudio

Hi again!

The audio level given by pulseaudio does not match with the level in the i3 bar. When pulseaudio is at, say, 25% volume, the i3 bar displays 2%. I’ve also just noticed the two numbers only match when they are at 100% – anything else and they are different. Does anyone know what could be the issue?

Strangely, this problem began when I reinstalled eos and brought over my config files from my previous install. It used to work perfectly. However, I have never changed anything in the audio script.