Every official bond executed by any officer pursuant to law is in force and obligatory upon the principal and sureties therein for any and all breaches of the conditions thereof committed during the time such officer continues to discharge any of the duties of or hold the office, and whether such breaches are committed or suffered by the principal officer, his deputy, or clerk.