Section 3. Actions against sheriffs for the misconduct or negligence of their deputies shall be commenced only within four years next after the cause of action accrues.