Fix error when @ticket is a Reply, which may happen when posted as json. Fixes #134.