But we often don't know what time period the movies cover. Nobody knows how long in ESB they were on the falcon on their way to Bespin. In ROTJ nobody knows how long it took for everyone to get those plans formulated. So they could use that as a way to include her death. Just a possibility.