Notwithstanding any law to the contrary, an official bond as required by law for a constable shall be a surety bond.