proved the bug exists in version 2360.
fixed bug for latest version of RavenDB.