diff --git a/apachesolr_search.module b/apachesolr_search.module
index 5e836ef..5939f7f 100644
--- a/apachesolr_search.module
+++ b/apachesolr_search.module
@@ -670,7 +670,8 @@ function apachesolr_search_search_results($keys = NULL, $conditions = NULL, $sea
     // Empty text Behavior
     if (!$keys && !isset($conditions['f']) && ($empty_search_behavior == 'browse' || $empty_search_behavior == 'blocks')) {
       // Pass empty search behavior as string on to apachesolr_search_search_page()
-      apachesolr_search_run_empty($search_page->env_id, $params, $search_page->search_path, $solr);
+      // Hardcoded apachesolr name since we rely on this for the facets
+      apachesolr_search_run_empty('apachesolr', $params, $search_page->search_path, $solr);
       $results['apachesolr_search_browse'] = $empty_search_behavior;
 
       if ($empty_search_behavior == 'browse') {
@@ -681,7 +682,8 @@ function apachesolr_search_search_results($keys = NULL, $conditions = NULL, $sea
     // Full text behavior. Triggers with a text search or a facet
     elseif (($keys || isset($conditions['f'])) || ($empty_search_behavior == 'results')) {
       $params['q'] = $keys;
-      $results = apachesolr_search_run($search_page->env_id, $params, $solrsort, $search_page->search_path, pager_find_page(), $solr);
+      // Hardcoded apachesolr name since we rely on this for the facets
+      $results = apachesolr_search_run('apachesolr', $params, $solrsort, $search_page->search_path, pager_find_page(), $solr);
     }
   }
   catch (Exception $e) {
