Fixed bug in signed comparisons.