Fix problem with tables in cards