Fix issue #403

Hi Nathan, I believe this patch fixes issue #403.