Fix errors when table path starts or ends with period