Fixed #3129.