Add optional job uniqueness constraint