An irregularity in a proceeding under this part may not be used to exclude evidence obtained under an order unless the irregularity affects substantial rights of the accused.