Update for beego filtering

Works with beego 1.4.2+  Fixes #1