Updated mdt_index and mdt_simple_iter
meh