What you were doing when the issue happened
I bring up the Alfred prompt and start entering Sleep. Sleep Display is not shown.
Whether you were able to replicate it a second time by performing the same action (Update any third-party apps and restart your Mac if relevant)
Yes, always. I tried disabling Sleep Displays in Alfred Settings an reenabling it but it does not work. Interestingly when I do it for other system commands it works as expected (like Log Out).
Include the Alfred version & build number you are using
5.0.6 [2110]
Include your macOS version
Ventura 13.1
Alfred Settings
Automation Settings in macOS Settings