Add branch filtering

It works in the developer console, should it work here.