Fixed mdb has_{descendants,ancestors,copies} using range queries.
Fixed mdb has_{descendants,ancestors,copies} using range queries.

modeswitch/barrelfish,modeswitch/barrelfish,modeswitch/barrelfish,modeswitch/barrelfish,modeswitch/barrelfish