Grails

Unique constraint erroneously finds match when grouped property value is null