On second thought, it may have something to do with a random error in reading the CIWSAttack doctrine... I had a comment in a bad location and it may cause the error sometimes, but then I moved the comment to an even worse place and it caused the posID very very often, much more than with the other doctrine. I think once I lock down the right place to put it (it's only because I'm an idiot) it should work the way it was designed all the time.
However, my apology still applies... it's probably my fault.