A remark on Kac–Wakimoto hierarchies of D-type