Fix broken python selection.