Custom reduce stock code affecting date_modified – How to bypass?

Custom reduce stock code affecting date_modified – How to bypass?