'0' was being cast as Boolean True - need to convert to integer to evaluate as False