FIX: do not raise error if query does not have group_ids

FIX: do not raise error if query does not have group_ids

diff --git a/plugin.rb b/plugin.rb
index cbc7897..e73296a 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -1038,7 +1038,7 @@ SQL
         format.html { render 'groups/show' }
         format.json do
           queries = DataExplorer::Query.all
-          queries.select! { |query| query.group_ids.include?(group.id.to_s) }
+          queries.select! { |query| query.group_ids&.include?(group.id.to_s) }
           render_serialized queries, DataExplorer::QuerySerializer, root: 'queries'
         end
       end

GitHub sha: 2acab3ba