Containment is a purely 2D affair. Basically the boundary needs to be a planar curve. It looks like your curve (the yellow one?) is not planar at all. This will confuse the Containment algorithm.
You may have to split the surface with the boundary, then use Trim Inclusion instead.