Corrected version for sails-mongo