Mythic Mob Eggs Duplicating from Dispensers

Summary

When attempting to spawn any mythicmob using an egg from a dispenser, if there is only a single egg left in the dispenser, it will continuously spawn that mob. If there are more than 1 egg, it will reduce with each spawn as it should, but once it reaches that last egg it is infinite.

Steps to reproduce

Place mythic eggs into a dispenser and repeatedly fire it

Current behavior

The last egg will always continue to spawn the mob instead of consuming

Intended correct behavior

Consume the final egg as normal