Fixed #1262.