Fix for issue #102

Per p-semple's comment on issue #102, worked for me also.