Fixed issue where user agent strings were being appended with the same value multiple times when using the same command object.