BibSched: fix priority for the same sequence id
- When normalizing the priority for the same sequence id group, take into account not only WAITING tasks, but anything that isn't DONE or in ERR state.
Co-authored-by: Jerome Caffaro <jerome.caffaro@cern.ch>
Acked-by: Alessio Deiana <alessio.deiana@cern.ch>