Fixing bug where int was being compared to Integer, resulting in false for
all comparisons.