Fixes for TDataSetManagerAliEn

Needed by ALICE. One bug fix plus some notable performance improvements.