Stop addSubstitutions(key,array) from clobbering substitutions

Passing an array value to addSubstitutions was clobbering all substitutions.