Refactoring in DbType and fixing bug in IndexSubQueryChunkStrategy.