RavenDB-1058

http://issues.hibernatingrhinos.com/issue/RavenDB-1058