Internal error when accessing service router and changing the time range

If I click into Service Router, pick an agent and change the time range to anything (including custom), it will give an internal error.

But if I change the time range first, then choose an agent.. it works.