Events: Fix shadowed db errors.