Fix for issue #50.

I had carlessly used "id" as a model field name. On sorting the grid, the store pruned any "duplicate" records.