Tweaking logic for revised_at setting