Fixed multiple entries of base migration in history for MongoDB