The former function was used incorrectly. The new function has the right behaviour. FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04