Written by danielgoldak. Last updated on July 20, 2023. Fix: Added backwards compatibility check for plans created on old API when doing backfills.