Internal: Don't pass acceptdocs down to nonNestedDocsFilter in ParentsFilter

PR for #8461. The bug can only occur in 1.3.5, but should be backported to the other branches as well.

The PR is against 1.3 branch