Update for beego filtering

Works with beego 1.4.2+