fixed if test on empty list now returns False.