Fix forest identification bug