Fix afiliate table