Only add
to trace state if key does not exist
#3645
Merged
add
to trace state if key does not exist
#3645