When Madness and Riff-Raff are both present, and Madness destroys a Joker, the joker buffer does not get properly updated, causing Riff-Raff to not spawn enough jokers.
See image for example, started out with 5 Jokers, Madness destroyed 1, and Riff-Raff did nothing. Ceremonial dagger does implement this correctly.
Tested in V1.0.1f.