Fixed issue with multiple class names added to tracker objects. Related to #1918.