Adding check that was removed earlier.
And now using the correct modified_date
Merge pull request #1672 from Yoast/stories/AM/last_mod_not_updated

Adding check that was removed earlier.[Finishes #80630282]