Fixed: history bug