Fixed DefaultValue behavior

0 was being treated as default even when a DefaultAttr (with another
value) is present