Fixed bug #983.