Added hackish workarounds for dealing with updates on replicated tables when there is only one partition