Fixed #2724.