this setting resides in 3 places. Once for the shader and once in the render globals you need them both set! the lower of the 2 takes precedence. Then any shadow tracing, ie your light also needs a deeper depth max for shadows.
But yes thats clarly the problem, because takeing one surface off makes the rpoblem go away.