Sometimes there's missing old value on library edit

image

API sometimes doesn't provide old value even if there was previous value for tags.
I don't get what it depends on but it sometimes works and sometimes doesn't.

I was having similar problem when coding a bot for Funkwhale edits.