Added if check to PySpring::_selectSite