[REG2.063a] Issue 10016 - Incorrect error gagging using RefCounted

http://d.puremagic.com/issues/show_bug.cgi?id=10016