Change logic to collapse and show outdated diffs based on note active property.
Fix malformed link to diff from discussion comment.