Corrects an incorrectly numbered domain
Also creates a new domain for the variables that utilised the old numbering schema