ensure that the profile has modified_ts key, EDUID-179

Backwards compatibility for profiles with no modified_ts