Fixed -Werror=sign-conversion problem in LogicEngine.cpp. Moved to v1.01