context TryGet returning wrong result for value types, fixes #2207