Fixed issue with clicking ticket filter optgroup labels to select all options.
Fixed issue when linking to tickets with `#1234`.