Fixed #2730.