Fixed missing dn checks