Fixed #2618.