Unexpected results when filtering docs in nested field

Hi!!

This post is a little similar:

Perhaps the solution is to use a script.