additional bug fix

this also fixes #7 when using OpenSearchFactory
and pack 1.7.7

Signed-off-by: Emmanuel Mathot <emmanuel.mathot@gmail.com>
Merge branch 'hotfix/bugs'
Merge tag 'bugs' into develop

v1.7.7