Fixing validation error from bad serialization.