Fixed invalid arguments with setval.