@dantleech yes i know that on flush no document is out there, but as i tried to get the metadata of null in that situation i got an exception that the UoW got no mapping :-) but i think i will get that