Possible solution for bug #760308
Merge pull request #3 from Teklad/master

#760308