Hello Will,
Thank you for the provided details. The behaviour is by design for cases when value references are wrapped into single quotes. To achieve the desired, replace all single quotes in your script with double ones. Also, for you information, value references should always be wrapped into double quotes in all Adaxes scripts.