The previous patch did not handle all cases. This new patch takes a
different approach
than the previous patch. Instead of trimming the mod that triggered
generation, we leave
it alone and make DNA check subsequent mods before commiting to
generating a new
value. This is easily done by just unsetting the generate flag if we
find a subsequent
mod for the same attribute in the same operation.