Fixing issue between int and float comparisons.