Correct bool operation implementation