Fix Catalog search and clear search not working #1017

Fix communication between search tree and tree #1017