Fix Table insert optimization

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
More B-Tree work - still broke

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>