Fixed small bug in Pratyush reweighting