Fix for changes in newer versions of Meteor