(2)Every notice under sub-section (1) shall operate as an attachment of rent as aforesaid unless the sum due shall have been paid and satisfied, and the occupier shall be entitled to credit in the account with the person to whom such rent is due, any sum paid by him to the Municipality in pursuance of such notice:Provided that if the person to whom such rent is due is not the person primarily liable for payment of the property tax, he shall be entitled to recover from the person primarily liable for the payment of such tax any amount for which credit is claimed as aforesaid.