Fixed sumtrees issue with labels being passed wrongly