Fix lookup for keys containing both string and numeric fields
Specify table's arity during construction. Test an issue with duplication key when using tableproxy.