diff --git a/modules/openstack_project/files/elastic-recheck/elastic-recheck.js b/modules/openstack_project/files/elastic-recheck/elastic-recheck.js
index f2d72d96c5..225c182504 100644
--- a/modules/openstack_project/files/elastic-recheck/elastic-recheck.js
+++ b/modules/openstack_project/files/elastic-recheck/elastic-recheck.js
@@ -40,11 +40,15 @@ function update() {
 	    }
 	    div = div.find(".graph");
 	        
-	    $.plot(div, bug['data'],
-		   {xaxis: {
-		       mode: "time"
-		   }}  
-		  );
+	    if (bug['data'].length > 0) {
+		$.plot(div, bug['data'],
+		       {xaxis: {
+			   mode: "time"
+		       }}
+		      );
+	    } else {
+		div.html("No matches");
+	    }
 
 	});
 	$.each($('.bug-container'), function(i, container) {