Problem
This flag has frayed edges and the blue in the flag matches that of the blue in the sky.
Solution
I was in a hurry so I forced an edge along the top of the blue section of flag and applied a delete mask to the background which found the edges well...