Model inversion routine was returning wrong results when the periods in constrainedpaths where not aligned with the periods in exogenousvariables. (cherry picked from commit d0071bd80b)
d0071bd80b