Treat [BLANK] and NULL as the same

Server-side you should be able to do something like
old_code.default('')
But client-side blank (not null) doesn't trigger the default so you would need the ternary there: