Bug 141 - Signed integer overflow handled incorrectly