Adds flushAutomatically = true to @Modifying on deleteNoteLessByDocumentId so the flush-before-bulk-delete contract is explicit instead of relying on Hibernate AUTO flush-mode behaviour. Addresses @markus review on PR #806. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>