NOTIFICATIONTYPE Macro

I’m writing a script to dress up notifications and I noticed that when I submit a custom host notification, the NOTIFICATIONTYPE macro is set to RECOVERY, instead of CUSTOM as the docs imply it should be.

I’m running the latest snapshot of Nagios. Is this the intended behavior, a bug or is there more to determining what NOTIFICATIONTYPE to pass?