ClassTree indexing bug fix