Fixed hexdiff bug introduced by previous patch.