This fixes #8030.  I was not getting the localParams, so it was not getting the correct times.  Now it is, and it seems to work.