Fixed #2600.