Fixes in RTree althoug remains an issue

Classify ecosystem conteains entities that have already been deleteted
causing a pure virtual call