Fix case where pre-domain nextTick executing post-domain callbacks resulted in domains being ignored