Fixing update reduce keys stats when deleting a document