Phenols are hardest to get rid of, because they are more difficult to decompose. But, given time, aeration and the growth of aerobic organisms, any amount of anaerobic by-product will disappear. Again, your nose is a good way to tell. If anaerobic conditions developed, make sure the material is aerobic for at least 2 weeks before you try to grow plants in it. Someone once asked about ammonia smell in compost and compost tea.
Ammonia is produced when certain bacteria volatilize ammonium and nitrate.
But they make ammonia, if high amounts of ammonium or nitrate are present. AND conditions become anaerobic in compost, ammonia gas will be made. And your nose will detect it. I've gone to look at compost sites where the smell of the ammonia just about killed me when I stepped out of the truck. I was amazed that the people working around it were still alive.