Fixed issue with updating sleep related activity