Solve as done in #6960