No cause of action may be started or continued against the State in relation to any period of imprisonment the person may have actually served in relation to a conviction for an offence, or a finding of guilt and imposition of punishment for contempt, set aside under this division.