GROUP BY sm.total_volumes caused fetch_one to fail when no books matched, silently skipping all series. COUNT(*) without GROUP BY always returns 1 row. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
GROUP BY sm.total_volumes caused fetch_one to fail when no books matched, silently skipping all series. COUNT(*) without GROUP BY always returns 1 row. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>