Fixes bug 2722297: Find "No Test Cases" finds matches if current doc
is test case
When I originally implemented this feature, I did it in a half-baked way that only worked for Find All.
Authored by: mgricken 2009-04-10
Parent: [r4881]
Child: [r4883]