FIX: Corrected invalid comparison logic with digest copy (yet again).