Fixes possible ConcurrentModificationException in State#getSimpleValues when the process of converting to a simple value causes #put try 2.