fix for Raven-DB 1592