Fixed wrong diff count