Fix table change replication issues

Fixes #12