next couple of corrections for bitwise AND to bool conversion