Uncaught exceptions may cause LogFilter to fail, with dire consequences. Issue #931. Reported and contributed by Tal Liron.