CPAlgorithms: refactor the object cutflow
This is the same as !68554 (merged), which was reverted due to a mismatch in the sequences leading the CI to crash in other MRs (but not !68554 (merged) ??). So here I also fix the sequences and hopefully no more crash