Because of the impending WB/UPN merger into the CW Television Network, the future of the series was uncertain, and the producers wrote two endings: the aired version, as well as additional scenes where Madison showed up to cause some cliffhanger trouble.