diff --git a/plugins/contexts/entity.inc b/plugins/contexts/entity.inc
index 3915667..4854f2a 100644
--- a/plugins/contexts/entity.inc
+++ b/plugins/contexts/entity.inc
@@ -84,7 +84,7 @@ function ctools_context_create_entity($empty, $data = NULL, $conf = FALSE, $plug
 
   if (!empty($data)) {
     $context->data     = $data;
-    if (isset($entity['entity keys']['label'])) {
+    if (!empty($entity['entity keys']['label'])) {
       $context->title    = $data->{$entity['entity keys']['label']};
     }
     $context->argument = $id;
