Fix URI::mergeParams when value is undefined