Could it have been you ran ad-aware, fixed the problems it found, and then ran Avast? If so it is possible that ad-aware removed/deleted the harmfull things, place them in the ad-aware cache folder and while running a scan with Avast, Avast found them there.