Check for empty identity_columns after array_diff