Fixed bug in domain cleanup.
Fixed bug in domain cleanup.

yieldbot/elephantdb,kangkot/elephantdb,kangkot/elephantdb,nathanmarz/elephantdb,kangkot/elephantdb,yieldbot/elephantdb,nathanmarz/elephantdb,nathanmarz/elephantdb,yieldbot/elephantdb