Fixed infinite transacitional loop regarding ref-settings microtasks to empty hash.