Fixed issue where some entries were prepended with a space in history