When adapting the Broadway musical to the screen, the directors initially wanted to pay homage to the source material and have an ending that mirrors the original plot. Thus, Warner Bros. spent $5m on the film's finale, which made it the most expensive Warner Bros. movie of its time.
Sadly, test audiences were totally put off by the dark nature of the 23-minute ending sequence in which Rick and Ellen are brutally killed, as the producer, David Geffen recalled: "For every musical number, there was applause, they loved it, it was just fantastic… until Rick and Ellen died, and then the theatre became a refrigerator, an ice box."
The terrible audience reaction forced their hand, and the costly sequence was removed. Thankfully, Warner Bros. released directors cut with the original ending in 2012.