Update LogicOperations.cpp