Fix to Search disable AJAX call

due to PHP 3 change in evaluation of booleans.