Separate node from basetype templates.
Don't bother searching if there's no search phrase.