For periods of absence due to maternity leave, adoption leave or bereavement leave and for periods of suspension of the employment contract due to an accident at work or an occupational disease or quarantine, the salaries to be taken into account are those that the beneficiary would have received had he not been absent.