fixes bug 960204 - TCBS middleware endpoint allows for >28 days range

@rhelmer r?

Anything larger than 30 days will now raise  "400 Bad Request" in the middleware.