On the validity of the elastic expansion of the free energy of nematic liquid crystals