Amended telemetry string construction code

Avoids potential bugs