Fix topic's last post date getting set incorrectly