updated decision logic to prioritize smaller releases of equal quality.