Fixing issue RavenDB-1499