Removed two instances of ‘== 1’ in a conditional, instead using the implicit truth check (as in the recent style change commit).