Fixed in https://github.com/simplybusiness/mongosis/commit/1cb361104ac90a9cbf127c9ecf21e1fcd3dcb17d