Fix bug in db_uri paths