Fixed typo that would cause changes to not be logged