Fixed refcount removing if specified