ignoring the result template itself when looking for matches