incorporating mongooptions-not-saved fix from aquafold dev team