Decay of a Bose-Einstein condensate in a dissipative lattice – the mean-field approximation and beyond