Sets state_id before_validation too