No-Ip with Mikrotik not working

Update: I changed my script for this one, and now it works fine:
http://forum.mikrotik.com/t/dynamic-dns-one-script-to-rule-them-all/59088/1

Apparently a bug was introduced in v6.2, something to do with empty variables, that broke the previous script.