If according to Slovenian legislation the amount of maternity benefit is calculated on the basis of the previous salary of the insured person, the Slovenian competent institution must take into consideration exclusively the salary received by the insured person during his last employment in Slovenia, whereby the average salary of the insured person received in Slovenia is determined as the average salary of the entire prescribed period.