updated for Meteor 0.5.5 compatibility

Looks like they fixed issue #617 and the type coercion
was actually preventing the code from working with the new Meteor.

This version has been working for me so far.