diff --git a/relation.database.inc b/relation.database.inc
index 2d1e4ab..1bd519a 100644
--- a/relation.database.inc
+++ b/relation.database.inc
@@ -23,7 +23,6 @@ class RelationQuery extends EntityFieldQuery {
       $this->related($entity_type, $entity_id, $r_index);
     }
     $this->entityCondition('entity_type', 'relation');
-    $this->range(0, 50);
   }
 
   /**
diff --git a/relation.module b/relation.module
index 76f554b..85374a3 100644
--- a/relation.module
+++ b/relation.module
@@ -778,7 +778,9 @@ function relation_uri($relation) {
  *   The query object itself.
  */
 function relation_query($entity_type = NULL, $entity_id = NULL, $r_index = NULL) {
-  return new RelationQuery($entity_type, $entity_id, $r_index);
+  $query = new RelationQuery($entity_type, $entity_id, $r_index);
+  $query->range(0, 50);
+  return $query;
 }
 
 /**
