Fix a perfectly understandable logic error that anyone could have made