Comparisons of bool against nil always passed