Fix a minor bug with Patomic::createDatabase