Pluginsv2

Fix bug involved in checking the ```tree_id``` argument of the ```subtree``` service.

Very minor. No new features, just a bug fix.

Merge @chinchliff @mtholder @jar398?