Fix incorrect handling of recursive value and return of the 'attributes-only excludes recursive or recursive-depth' validator