Fix use of wrong enum constant in CBLDatabase+Internal

Fixes #219