try both ._cid and ._id when getting the local stored documents ids
fixes in middleware support
ignored docs