Here is a patch which can fix the issue.