Fixed a bug with cross-tables.