Remove incorrect reference count update.

Fixes #44