Do not return early if nothing changed
We still need to update the history even if it has the same value as before. Should fix the unit test on FreeBSD.
We still need to update the history even if it has the same value as before. Should fix the unit test on FreeBSD.