Fixed some bugs in search of active tiers