Migrate item stats and arts when check() returns a new id (fix #424)