fix resetting table sequences on import