fix deleting document data when using atomically without any operations:

atomically do
end