Inverting loop, iterate config instead of all table relations