fix for RavenDB-2441

fixes + prefetchingBehavior debug endpoint