Fix bug with type selection for flagging DNs