Fixes bugs with required analytes for TriggerAlgebra.