It was fixed by commit e1590ddc: Add the SolverStage monad.
mentioned in merge request !10899 (closed)