Changes db.load to avoid lint errors on condition assignment