Search improvements.

Use type assertions instead of relying on dgrl node type.  Fixed bug in
comparison logic.  Added support for comment search.