Fix generated command profiling including an extra ', ' from the start of a command parameter