CSPACE-6273; In custom function, fix quoting.