Openhab iframe error 400 invalid duration

I am using openhab and linking to grafana using an iframe.
This works fine. the graphs work.
When i click refresh in my browser i get a red triangle and then an error parsing query invalid duration.

If i double click in the graph, to zoom out, it shows the graph correctly.

If i use the url link and open in just google chrome it works fine even after refreshing.
So it might be an openhab habpanel issue, although someone here might still know how to get around it.