[FIX] v2.ODataModel: resetChanges throws exception when passing keys

Change-Id: I83aecb8838901aff0027a9a80bac47a042a6a948
CR-Id: 012006153200015655822014
BCP: 1472016212
Merge "[FIX] v2.ODataModel: resetChanges throws exception when passing keys" into rel-1.26