Fixed #2709.