Ogm 338 Minor fixes

A few minor fixes for the latest pull request about OGM-338: https://github.com/hibernate/hibernate-ogm/pull/235

Feel free to  pick or ignore them.