fix for RavenDB-2381