Adapting search.php to display devices with multiple levels chassis #347