Accounting for fluctuations in a lattice model of microemulsions