Manchester United boss Erik ten Hag says he had mixed feelings following their dramatic victory away at Wolves.