Fix for #597, negative int default value

review by @szeiger