Fixed issue when linking to tickets with `#1234`.