In all criminal or motor vehicle violations in Montgomery County, all bonds shall be executed so as to guarantee the appearance of the defendant at all stages of the proceeding in the district court and the circuit court. (Mont. Co. Code 1965, § 4-10; 1945, ch. 943, § 141J; 1971, ch. 765, § 4.)