Recommit the fix after changes in dolfin_adjoint