Updated LogiQL snippet