Prevent history entries when data is unchanged