       nil -> true
       origins ->
         String.split(origins, "\n") |> Enum.any?(fn origin ->
-          origin == my_origin
+          # Logger.debug("Check origin #{inspect origin} ==? #{inspect my_origin}")
+          (origin != "") and (origin == my_origin)
         end)
     end
 

    trigger_data = try do
      Serverboards.RulesV2.Rule.trigger_type(uuid)
    catch
      :exit, _ -> # not existing
        {:error, :not_enabled}
    end



  def filter_query(uuid, vals, peer) do
    alias Serverboards.Utils
    # Logger.debug("Filter query #{inspect {uuid, vals, peer}}")

    # Logger.debug("Get rule #{inspect uuid}")
    rule = Serverboards.RulesV2.Rules.get(uuid)
