Protect against no rmas in db.