Mhwd tries to find video drivers for the wrong kernel

Howdy - my first post, and I really love using Manjaro. It is replacing Ubuntu on all my devices.

I recently ran an upgrade and allowed pamac to uninstall my video drivers because of a conflict (I think). I had my Nvidia drivers humming, with CUDA for a few months before this. While troubleshooting the issue I downgraded from the 5.9 kernel to 5.4, and now, mhwd won’t install the drivers properly, as it keeps looking for linux59-nvidia (wrong kernal).

> sudo mhwd -a pci nonfree 0300
> Using config 'video-nvidia' for device: 0000:01:00.0 (0300:10de:1380) Display controller nVidia Corporation GM107 [GeForce GTX 750 Ti]
> Installing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
error: target not found: linux59-nvidia
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
Error: pacman failed!
Error: script failed!

Current kernel:
> uname -r
5.4.116-1-MANJARO

So, I am guessing it shouldn’t be looking for linux59-nvidia, but rather linux54-nvidia, right? How do I fix this discrepancy?

I have tried installing drivers by directly, and get the same error:

>user $ sudo mhwd -i pci video-nvidia
> Installing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
error: target not found: linux59-nvidia
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
Error: pacman failed!
Error: script failed!

I have already ran: mkinitcpio -p linux54

can you provide

sudo mhwd -li
sudo mhwd-kernel -li
sudo ls /etc/mkinitcpio.d/*.preset

You did not removed 5.9 kernel
Do that first.

Thank you much. Removing the 5.9 kernel fixed the issue.
@stephane I saw your message after I had already removed 5.9, so I doubt the output is useful at this point. Let me know if you still want them for posterity. Thank you anyways.

you can provide informartions