With an element it is ok to put the wires either way. It will work ok. You should also have an earth tab connected to the metal base of the element. Make sure the green wire goes back on here and not the blue or white one.
Lincoln Appliance NZ, November 2008