'Try loading the hierarchy from s3_hierarchy'

def load(self):

    if (not self.config):
        return
    tablename = self.tablename
    if (not self.__status('dbstatus', True)):
        self.__status(dirty=True)
        return
    htable = current.s3db.s3_hierarchy
    query = (htable.tablename == tablename)
    row = current.db(query).select(htable.dirty, htable.hierarchy, limitby=(0, 1)).first()
    if (row and (not row.dirty)):
        data = row.hierarchy
        theset = self.__theset
        theset.clear()
        for (node_id, item) in data['nodes'].items():
            theset[long(node_id)] = {'p': item['p'], 'c': item['c'], 's': (set(item['s']) if item['s'] else set())}
        self.__status(dirty=False, dbupdate=None, dbstatus=True)
        return
    else:
        self.__status(dirty=True, dbupdate=None, dbstatus=(False if row else None))
    return
