Grails

Compound "unique" constraints incorrectly pass validation if one of the fields is null