diff --git a/views_bulk_operations.module b/views_bulk_operations.module
index 623243a..d2b0e1c 100644
--- a/views_bulk_operations.module
+++ b/views_bulk_operations.module
@@ -1720,7 +1720,7 @@ function _views_bulk_operations_action_do($operation, $oid, $object, $row, $para
   _views_bulk_operations_action_permission($operation, $account);
 
   // Add the object to the context.
-  if (isset($object_info['context'])) {
+  if (!empty($object_info['context'])) {
     $params[$object_info['context']] = $object;
   }
   else {
