Catch exceptions when trying to add an entry to rooms tables
Add a workaround for bug where some initial join events don't reference creation events in their auth_events