New method for finding tags.

Fixes the truncation problem.