Improve check of partition tables.