(PDB-708) get diff working correctly

Signed-off-by: Ken Barber <ken@bob.sh>