Fixed typo in hidden layer setstate.