stale cache fixed while updating objects
crossbar_doc_cache: don't iterate through the list twice when flusing