Fix for double diff output

Cleaner PR for double diff bug fix