[fix] add `type` to before and after to grab correct `passes`, fixes #537
Merge pull request #539 from nodejitsu/fix-before-after

[fix] add `type` to before and after to grab correct `passes`, fixes #537