Dominic Jones reported a problem with SideEffects being exectued more than once. Test and fix for that.