Merge pull request #881 from quickfur/issue13073

Fix wrong comparison of uint[]/int[] due to invalid subtraction.

Signed-off-by: Martin Krejcirik <mk@krej.cz>