Moved executeSearch function from node_classes.inc.php to courses_classes.inc.php