Fix #1379
Merge pull request #76 from sjinks/issue-1379

Fix #1379