Actions on contracts, surety bonds, or bonds of indemnity or liability, other than those referred to in § 15-5-4, issued by any such company or companies shall be brought and tried in the county where the indemnified resides at the time said action is commenced; or in the county where such liability or loss indemnified by such contract or bond occurred.
SDCL 15-5-5