Multi DB fix for events