RavenDB-2268 Fixing a lot of bugs after moving from prefixed slice to slice