fix for null mongoOptions

closes #59