fix issue with out of sync entries in Feed xml model

and add regression test
Merge pull request #8 from dimagi/fix-entries

fix issue with out of sync entries in Feed xml model