Fixed a bug in depth_based_enumerator_t.