Bug in open db for specified databases, not default