Fix editing asset when validate was failed

Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>