Fixed a bug with the log view