core-4772 fix validations for list and tree