Updated getTable class type validation to allow only concrete classes