[v6r12] Fix in the DM to protect against non valid SE

Avoid crash with non valid SEs