Revert "fix for GRAILS-9813 "Domain.getAll( ['id1','id2'] ) not working : returns null""

This reverts commit bd6f6cb9939de3a058fc152eb783ec63b4c4e871.