Fix the order in which the cves were being updated