(21) Where a certificate of registration is cancelled, the said cancellation shall not affect the liability of the dealer to pay the tax, including any penalty or other amounts due for any period prior to the date of cancellation whether such tax including any penalty or other amounts is assessed before the date of cancellation but remains unpaid, or is assessed thereafter.