Fixed comparison of 0 with false