diff --git includes/controllers.inc includes/controllers.inc
index a8fed9e..e8c414d 100644
--- includes/controllers.inc
+++ includes/controllers.inc
@@ -224,7 +224,12 @@ abstract class VersioncontrolEntityController {
     // If provided, attach generic conditions.
     if ($conditions) {
       foreach ($conditions as $field => $value) {
-        $this->attachCondition($query, $field, $value);
+        if (!empty($value)) {
+          $this->attachCondition($query, $field, $value);
+        }
+        else {
+          throw new Exception('Attempted to attach an empty condition on the controller.', E_ERROR);
+        }
       }
     }
   }
