Ensure DBRef have DB set.