Fixed #1095.