Improved the error message to list all mismatched tables from the specified order