fix for issue 1076

Looking at your fix for my prior unblessed ref problem, I built a fix for issue 1076.