For the maternity benefit, which is intended for pregnant or nursing mothers after giving birth, that benefit does continue to be paid, because the intent of the benefit is to support the mother's recovery, so if the infant child dies while the mother is receiving maternity benefits, she would continue to receive those up to the 15 weeks that are available.
On October 16th, 2018. See this statement in context.