The filter returns more items than it should

I found the configuration I needed to prevent this from happening: Middlewares | Strapi Documentation