Replaced IIf() by If()