Update MonteCarloSelection.py

Bug fix