The consolidatePending is including pending positions before the deadline only. It should consider until the deadline, meaning inclusive of the deadline.
Some pending positions will have to wait for another cycle due to this logic.
Will impact the rewards for the users as they are accounted based on positions.
Manual Review
Revise the logic as below.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.