A Longitudinal Study of Alkaloid Synthesis Reveals Functional Group Interconversions as Bad Actors.