Ensure correct EarnedBadge record is found.