Temporary fix for Meteor.flush: TypeError: Cannot call method 'firstNode' of undefined error