Avast does not detect infections in its own quarantine … (unless a serious bug)

I suggest you post/ask in the Mac forum section where Mac expert @Tumic is