Modified matches() in AbstractTable and ReplacementTable to include type checking of column values