Fix GRAILS-10178 - Unique constraint false positive on validate when in pair with nullable property