A fix for DG in bnd handling.