This is gold! After about a day of frustrated debug and attempts this solved it for me. Thanks!