Compiler fix for enumerating over array of Booleans