RavenDB-2756

This doesn't include any test - it was very hard to reproduce such scenario.