No legal claim of any kind or character whatsoever in favor of one county and against the other shall be based upon or created by the enactment hereof, except such as may arise when the contract herein provided for shall have been entered into. After such contract shall have been entered into, should any loss or damage be sustained by either county occasioned by the overflow of any such river, if caused by any act or omission to act of the other county, its officers or agents, or any other cause whatsoever, then such county so suffering or sustaining said loss shall not be entitled to recover therefor from the other county, nor shall any cause of action, legal or equitable be based thereon: PROVIDED, HOWEVER, That if either county shall suffer loss or damage because of the failure or refusal of the other county to perform any such contract on its part to be performed, the injured county shall have a cause of action against the defaulting county to recover the same, but the limit of recovery for any loss or damage suffered in any one year shall not exceed the sum of ten thousand dollars, and any such recovery shall be limited to such special fund, and in no event be recoverable out of the general fund of such defaulting county. If any such loss or damage shall be liquidated in an amount by agreement or by judgment, the defaulting county shall increase its tax levy for said special fund for the ensuing year sufficiently to provide for such liquidated amount: AND PROVIDED FURTHER, That either county may have any proper action in the courts to compel the performance of the contract or any duty imposed thereby or by this chapter.