I'm using Jira Server and having issues getting the correct values returned from 'deletedFieldChange.valueIds' in an Automation. I'm logging these values to changelog so I can see them.

The automation syntax, as far as I can tell, is correct.

I based it off the documentation for smart values. I see in some comments these shouldn't be compatible with the server version, but I don't understand why it would return the added value but have an issue with the deleted value.
Any help is appreciated.