IA-884: flush repository after deleting blocked terms rule to prevent stale data
Problem
Blocked terms and custom rules were not displaying correctly on load unless a manual default reset was triggered. The issue was caused by a stale transaction — the old rule was not fully flushed from the DB before the new one was inserted.
Fix
In createOrUpdateBlockedTermsRule, replaced forEach(repository::delete) with deleteAll() + repository.flush() to ensure the deletion is committed to the DB before saving the new rule.