(9) A person who is entitled to receive sickness benefit, maternity allowance, invalidity benefit or injury benefit for any period under the legislation of Ireland while he is in Jersey or Guernsey, shall be excepted from liability to pay a contribution in respect of that period, other than as an employed or self-employed person, under the legislation of Jersey or Guernsey.