JCR-2319: Cannot initialize the JCR with a low batch size

https://jira.exoplatform.org/browse/JCR-2319