Fixed a problem with the matching.

Previously matching was done against the transformed candidates.  If
their title was clipped, you couldn't match against the clipped
part.  Now, matching is done before transformation.