Why didn't my initial attempts to disable diff-hl in org-mode work?

I see to be having the same issue as in Disabling diff-hl on certain modes , which was supposed to have been fixed. I have the following in my ~/.doom.d/config.el file:

(setq diff-hl-global-modes
      '(not image-mode pdf-view-mode
            latex-mode org-mode))

However, when I check space-h-m, I see that diff-hl-mode is enabled.

I also tried

(add-hook! org-mode (setq diff-hl-mode nil))

and

(add-hook! org-mode (setq diff-hl -1))

which similarly did not work. I also tried quoting org-mode.

I did make sure to restart emacs with space-q-r between each attempt.

I found a similiar question for vannila emacs here: https://www.reddit.com/r/DoomEmacs/comments/m16o86/disable_minor_modes_in_orgmode/ which led to

(after! org
   (add-hook 'org-mode-hook (lambda () (diff-hl-mode 0))))

That does work, but I’m not 100% sure what part of that made the difference.