process.nextTick is deprecated (I believe node 0.10 onward) because in some edge cases it may preempt the processing of IO. 
It does not look like it could be the case here. However a good habit could be to always use setImmediate. 

Which version of node are we using ? I know that some tests are using node 0.10 but don't know about master, staging & production.