[log] Fix smart refresh, in one commit case.