diff --git a/PiResults/LastSearchesCommand.php b/PiResults/LastSearchesCommand.php
index <HASH>..<HASH> 100644
--- a/PiResults/LastSearchesCommand.php
+++ b/PiResults/LastSearchesCommand.php
@@ -69,8 +69,13 @@ class Tx_Solr_PiResults_LastSearchesCommand implements Tx_Solr_PluginCommand {
 			return NULL;
 		}
 
+		$lastSearches = $this->getLastSearches();
+		if(empty($lastSearches)) {
+			return NULL;
+		}
+		
 		$marker = array(
-			'loop_lastsearches|lastsearch' => $this->getLastSearches()
+			'loop_lastsearches|lastsearch' => $lastSearches
 		);
 
 		return $marker;
[TASK] Hide LastSearches facet if no history is present

Change-Id: I4f<I>e5a<I>f3f1a<I>df2b<I>abdd<I>fbe<I>