YSE - Spread State & Yanfly State Animations conflict

I am using both of these scripts together:

https://yanflychannel.wordpress.com/rmvxa/battle-scripts/state-animations/

&

https://yamiworld.wordpress.com/yami-engine/battle-add-on/spread-state/

(along with the basic module for spread state - https://yamiworld.wordpress.com/yami-engine/basic-module/ )

Although it seems to work with when multiple states are spread at once, when only one state is active and I attempt to spread the said state to the other enemies I am getting this error:

Script 'State Animations' line 229: TypeError occured.

nil can't be coerced into Fixnum

I'd love to not have to drop either of these scripts in my project but if I have to choose, I'll keep just stick with the State Animations script. If anyone can help me to keep both of the scripts working together, I'll feature them in my games credits. Cheers.
Bump, anyone know the secrets?
LeeOccleshaw, please do not bump your topic unless it has been 72 hours later since your last post. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/yse-spread-state-yanfly-state-animations-conflict.43231/