Match parenthesis at end of timestamp in graph syntax

Following on from #355. The closing parenthesis should be explicitly matched to avoid this happening:
![untitled](https://cloud.githubusercontent.com/assets/4781841/4872221/10855d52-61dc-11e4-8ade-72e1c1500ada.png)