Just repaired the same leak on my k engine from flange of water rail to head, when removed found the water rail flange was not flat, had it surface ground and replaced, also the cap screws were not tight, Also before refitting bolted back rail by single support screw and feeler gauged gap, found I had to file about 0.020" off the support lug which was similar to amount ground off.
Chris