Fixes #3772 : correct migration of eventlog and changerequest