fixes: #1044
Tested and it is working. Thank you.
Commit f6e49958 fixes this pull-request
Pull-Request has been merged by mikem
fixes: #1044