This patch appears to be no longer relevant, and is seemingly a leading cause of datapack performance being horrific
CB used the resulting item in the dispenser rather than the item dispensed. The resulting item would have size == 0 and therefore be convertered to air, hence why the effects disappeared.