Add arguement to restrict category trees to certain datastores