Fix minor logging issue