Added SELECT_CC support and fixed a bug with unsigned comparisons.