You got it right.

I found this bug some time ago. To put it simply a value used in the calculation of the hit rate is truncated, thus after 255 it flows back to 0, and the same goes with 511 and so on. I'm positive it's that, but I wanna wait for Kalisiin's reply on the dexterity values to confirm that the frequent misses are due to this bug.