update to model-key getChanges
Merge pull request #994 from kandizzy/master

Update to model-key getChanges to prevent prev is undefined