An insurer is not liable for any loss happening to the subject matter of marine insurance after an improper deviation.

(Enacted by Stats. 1935, Ch. 145.)