Fix unsigned int/int mismatch in RescaleFilter