I have had a read of what Lando provides, and it's an excellent development tool, and it would solve the problem.
But, I would prefer to find out why the problem is there in the first...
You might need to add a Relationship in the View to Flags. Or there might be a setting on the content type. I can't recall for certain but I think it's possible.
You may want to test this PR and report back in the thread: