fixed minor bug in conditionals.py