Because otherwise the ```STATUS_DRAFT``` would have been set to the version even with ```$inputValidated === false```, which is probably something we don't want.

I thought that only what appears below (new) lines 312 had to be run, whatever the content of ```$inputValidated```.
Maybe the *modified* attribute shouldn't be updated as well? But I think it could make sense to update it.