fixes bug 960204 - TCBS middleware endpoint allows for >28 days range, r=rhelmer