This fixes the hard refresh problem.