Fixed operation completed logic.