Some logic corrections for python compile merge :(