Fix partition access error(s) in worker thread `run` method.