diff --git a/src/CropEntityUtility.php b/src/CropEntityUtility.php
index fc13eec..f0dcb78 100755
--- a/src/CropEntityUtility.php
+++ b/src/CropEntityUtility.php
@@ -34,6 +34,11 @@ class CropEntityUtility {
   public static function loadCropRelations($referencing_entity_id, $referencing_entity_type, $load_full_crop = TRUE, $key = 'cfid', $reset = FALSE) {
     // Build up a key using the referencing entity id(s).
     if (is_array($referencing_entity_id)) {
+      // Handle calling this function with an empty array. Otherwise, the
+      // resulting query will fail fatally.
+      if (empty($referencing_entity_id)) {
+        return array();
+      }
       $referencing_entity_id_clone = $referencing_entity_id;
       // Make sure the ids are always in the same order.
       sort($referencing_entity_id_clone);
