Fixes #3906 - Fix migration script in order to migration eventlogs from version 1