Bug in TableBase(delete method) fixed

Signed-off-by: SergeyKrivohatskiy <s.krivohatskiy@gmail.com>