Ignore '-' when looking for duplicate characters in tick labels. Fixes #17.