Fix boolean mistake