This should be checking for true, not "1"