Fix restarting of cook passes