fix: fix effective date end fatal error from prior commit (#6176)