Fix invalid decref