Fix nameaddr.params if last param has no value.

Closes again #228 .

(cherry picked from commit dd109699e2d3fecc744e3aeaa74fbf21227f9288)