Small bugfix to AES (inverted value was not set on inversion change).