Fixed RunPython migrations