Add `SET search_path = public` to all remaining SECURITY DEFINER functions to address security linter warnings.