Fixed boolean logic error