work around for https://github.com/balderdashy/sails-mongo/issues/147