passed record does not have a value for key field

I couldnt fix this error for the last 4 days..
I am using a RestDataSource, That is used by the components ListGrid and DynamicForm in the same way as the Showcase Demo Application [miniApp].
Once after a record is deleted from the ListGrid, the DynamicForm fails to update with new records selected on the listGrid.
the error message which I am getting when I delete a record is,
“passed record does not have a value for key field”

But I can see the KeyField value in both Request and Response payLoad.
The same error can be re-produced in the ShowCase Application.
if you run the “Demo Application”, and right-click on a listGrid record and delete it, you will see the EditorForm(DynamicForm) with Empty Message as expected. In the Debug Console you can see the above WARN Message.
Once after this Warning the editorForm fails to update the record that user clicks on listGrid.

Can someone please help me fix this.