There's redundant comparison while `makediff` function called twice. Actually, both deployment and rollback diff can be done after 1 time comparison.