Check for empty identity_columns after array_diff

Related to Issue #215