Fixed DECREF that segfaulted after a few calls