cherrypicked change to fix args to db:caution-open-database