That wasn't a fix, just a test. It worked only for some sun angles and had a lot of artifacts elsewhere. Meanwhile we started using another shadowing system that doesn't have non-linear artifacts on objects, unfortunately that one is both slower and hard to use with the terrain, so we'll have to revert it back and employ other techniques to suppress the disadvantages of the other one.
Shadows are huge pain because of the scale, it hurts me to think how much time went into it and still has to ..