Fix to_i permanence problem on all comparison variables