Correction: Inference in conditioned dynamics through causality restoration