String containment test was wrong