Left: Beanie Feldstein and Kaitlyn Dever in Booksmart . Right: Taron Egerton and Richard Madden in Rocketman .

Delta Air Lines will restore same-sex love scenes to its in-flight versions of the 2019 movies Booksmart and Rocketman, the company confirmed to BuzzFeed News.

The airline said that it was provided an "edited" version of each film, but only realized this week that those versions omitted key same-sex love scenes involving its lead characters.

“We are working to make sure this doesn’t happen again,” Delta said in a statement.

The news broke after Booksmart director Olivia Wilde retweeted a viewer who complained that the hookup scene between one of the film's leads, Kaitlyn Dever, and actor Diana Silvers (Ma) had been cut from the film.