Logical operators errors

Signed-off-by: Vince Kronlein <vkronlein@icloud.com>