diff --git a/lib/json_api_client/query/builder.rb b/lib/json_api_client/query/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/json_api_client/query/builder.rb
+++ b/lib/json_api_client/query/builder.rb
@@ -81,8 +81,8 @@ module JsonApiClient
               end
             end
           when Array
-            table.map do
-              parse_related_links(*table)
+            table.map do |v|
+              parse_related_links(*v)
             end
           else
             table
fix handling of array definitions of related included links