trim search terms + nodeActive bug fixes