How to restart with weight window

I ran a simulation with weight window. Now I want to run more batches based on the previous result. I’ve tried openmc.run(restart_file="statepoint.50.h5") but OpenMC does not read the weight windows applied in the previous run.