Replace flawed lastModified() method in Profile with getProfileHash which can be used to identify changes in a profile.