Raven db 2239 2.5

issue 2239 fixed for 2.5