If you not check the ‘High’ sensitivity or customize the .zip extension at the created/modified files to scan, zip won’t be detected by avast! Of course, when you try to extract the files, the virus file will be detected.
So, your system is perfect, it’s being protected as much as you configure it to be. No reason for worries… 