[jaring] Replace db_rel.links with db_rel.conditions.