fixed tuple key in dict with object instances in tuple.