Fix findSubtree method

It was returning wrong leftovers slice. It was empty even when it was not
supposed to be.