[fix] Fix parent selector. Fixes #4665