Yeah this is the cause of the issue. The second client is adding an empty document which should not be happening. I'm going to rewrite the test so that this does not happen.