Fixing a decref issue (although not the one causing the existing problems :( )