The presumption of paternity is set aside when the child’s birth certificate does not name the husband as the father. It is further set aside where the child was born more than three hundred days after the application for divorce or legal separation was lodged or after the agreement settling all the consequences of the divorce was filed with a notary, and less than one hundred and eighty days since the final rejection of the application or the reconciliation.