Debug error of index in creation of weekmatches