fix multi-id search in AnormDB