Set a trap to catch what is slowly becoming a Heisenbug.
keys() wrapped in list.