Parent/child: Fixed p/c filters not being able to be used in alias filters.

PR for #8628

The bug was introduced by #5916