Fixed logic error in channel-log updating, that led to lost changes

For #158 (possibly a fix but I'm not sure)