Add grails null check.