I don’t think that avast goes to the degree of checking for expired signatures. A digital signature would remain valid if the file wasn’t modified. If the file were modified the digital signature wouldn’t pass validation/checksum, etc.