Fixes the problem described in https://forum.dynare.org/t/parallel-estimation-no-stored-previous-proposal-density-found/17538/